package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ForumTopicPraise;
import com.woniuxy.common.entity.ForumTopicPraiseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ForumTopicPraiseMapper {
    long countByExample(ForumTopicPraiseExample example);

    int deleteByExample(ForumTopicPraiseExample example);

    int deleteByPrimaryKey(String id);

    int insert(ForumTopicPraise record);

    int insertSelective(ForumTopicPraise record);

    List<ForumTopicPraise> selectByExample(ForumTopicPraiseExample example);

    ForumTopicPraise selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ForumTopicPraise record, @Param("example") ForumTopicPraiseExample example);

    int updateByExample(@Param("record") ForumTopicPraise record, @Param("example") ForumTopicPraiseExample example);

    int updateByPrimaryKeySelective(ForumTopicPraise record);

    int updateByPrimaryKey(ForumTopicPraise record);
}